package com.zw.design.pattern.creational.structural.decorator.v2;

public class SausageDecorator extends AbstractDecorator{
    public SausageDecorator(ABattercake aBattercake) {
        super(aBattercake);
    }

    @Override
    public void doSingle() {

    }

    @Override
    protected String getDesc() {
        return super.getDesc()+" 加入一根火腿";
    }

    @Override
    protected int cost() {
        return super.cost()+3;
    }
}
